import { Module } from '@nestjs/common';
import { GoodsService } from './goods.service';
import { GoodsReolver } from './goods.resolver';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MallGoods } from '@/entities/MallGoods';
import { GoodsAttributeService } from './goods-attribute.service';
import { MallGoodsAttribute } from '@/entities/MallGoodsAttribute';
import { GoodsAttributeReolver } from './goods-attribute.resolver';

@Module({
  imports: [TypeOrmModule.forFeature([MallGoods, MallGoodsAttribute])],
  providers: [GoodsService, GoodsReolver, GoodsAttributeService, GoodsAttributeReolver],
})
export class GoodsModule {}
